package com.lovo.homework7_14ATM;

import javax.swing.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

public class MenuPanel extends JPanel implements ActionListener {
    private JButton jButton1;
    private JButton jButton2;
    private JButton jButton3;
    private JButton jButton4;
    private JButton jButton5;

    private Icon buttonIcon1 =util.Util.getIcon("/images/buttonSave.jpg");
    private Icon buttonIcon2 =util.Util.getIcon("/images/buttonGet.jpg");
    private Icon buttonIcon3 =util.Util.getIcon("/images/buttonFind.jpg");
    private Icon buttonIcon4 =util.Util.getIcon("/images/buttonLand.jpg");
    private Icon buttonIcon5 =util.Util.getIcon("/images/buttonLand.jpg");



    public MenuPanel(){
        this.setLayout(null);

        this.setOpaque(false);

        jButton1=new JButton(buttonIcon1);
        jButton1.setBounds(450,180,140,50);
        this.add(jButton1);

        jButton2=new JButton(buttonIcon2);
        jButton2.setBounds(450,270,140,50);
        this.add(jButton2);

        jButton3=new JButton(buttonIcon3);
        jButton3.setBounds(450,360,140,50);
        this.add(jButton3);
    }

    @Override
    public void actionPerformed(ActionEvent e) {

    }
}
